package com.banmao.test;

import com.alibaba.fastjson2.JSON;
import com.banmao.test.constructorArg.ConstructorTest;
import com.banmao.test.qualifier.QualifierMain;
import com.banmao.test.replaceMethod.ReplaceMethod02;
import com.banmao.test.vo.Project;
import com.banmao.test.vo.UserVO;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;

@SuppressWarnings("deprecation")
public class MySpringSource {

	public static void main(String[] args) {

		//ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("my-beans.xml");
		XmlBeanFactory context = new XmlBeanFactory(new ClassPathResource("my-beans.xml"));

		QualifierMain qualifierMain = (QualifierMain) context.getBean("qualifierMain");
		qualifierMain.call();


	}

}
